<%@ page pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
<%@ taglib uri="http://www.ld.com/shield/tags" prefix="shield"%>
<%@ page trimDirectiveWhitespaces="true" %>
<fmt:setLocale value="zh_CN"/>
<%-- 权限判断 --%>
<shield:permssion type="button">
<div >
	<!-- t改为shieldTarget，且为jQuery选择器形式 -->
    <form action="${ctxPathA}/system/filelistener/fchangedlog/search" method="post" shieldTarget="#searchResult" class="searchForm">
        <div class="search-box">
        	<!-- class"search-i"不同分辨率下，标题与输入文本共同换行。 -->
		    <span class="search-i"><b>监控器：</b>
				<select name="equal_flistenerId">
	<c:forEach var="listener" items="${listeners }">
					<option value="${listener.id }">${listener.name }</option>
	</c:forEach>
				</select></span>
		    <span class="search-i"><b>文件名：</b><input type="text" name="equal_fileName"/></span>
		    <span class="search-i"><b>变更时间：</b>
		    <input type="text" name="date_sfileUpdateTime" class="Wdate" value=""
                   id="startDate" onfocus="WdatePicker({maxDate:'#F{$dp.$D(\'endDate\')}'})"/>-
            <input type="text"name="date_efileUpdateTime" value="" class="Wdate" id="endDate" onfocus="WdatePicker({minDate:'#F{$dp.$D(\'startDate\')}'})"/></span>
		    <span class="search-i"><input class="button submit" type="submit" name="doSearch" value="查询"></span>
        </div>
        <div id="searchResult"></div>
    </form>
</div>
</shield:permssion>